
//
//  BBview.m
//  Rac
//
//  Created by 崔博 on 2018/1/1.
//  Copyright © 2018年 崔博. All rights reserved.
//

#import "BBview.h"

@implementation BBview

- (RACSubject *)sub{
    if (!_sub) {
        _sub = [RACSubject subject];
    }
    return _sub;
}

- (IBAction)add:(id)sender {
    NSLog(@"111");
    // 通知面
    
}
- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    [self.sub sendNext:@"按钮点击了"];
}
@end
